package com.yixun.qfbao.model;

import java.util.Objects;

/**
 * @classname: VisitStateInfo.java
 * @author: Beau
 * @create: 2020/01/16 11:01
 * @version: 1.0.0
 **/
public class VisitStateInfo {
    private String visitType;
    private Long visitCount;
    private Long signCount;
    private String signRate;
    private String signRateMax;

    public VisitStateInfo(String visitType, Long visitCount, Long signCount, String signRate, String signRateMax) {
        this.visitType = visitType;
        this.visitCount = visitCount;
        this.signCount = signCount;
        this.signRate = signRate;
        this.signRateMax = signRateMax;
    }

    public String getSignRateMax() {
        return signRateMax;
    }

    public void setSignRateMax(String signRateMax) {
        this.signRateMax = signRateMax;
    }

    public VisitStateInfo() {
    }

    public String getVisitType() {
        return visitType;
    }

    public void setVisitType(String visitType) {
        this.visitType = visitType;
    }

    public Long getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(Long visitCount) {
        this.visitCount = visitCount;
    }

    public Long getSignCount() {
        return signCount;
    }

    public void setSignCount(Long signCount) {
        this.signCount = signCount;
    }

    public String getSignRate() {
        return signRate;
    }

    public void setSignRate(String signRate) {
        this.signRate = signRate;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        VisitStateInfo that = (VisitStateInfo) o;
        return Objects.equals(visitType, that.visitType);
    }



    @Override
    public int hashCode() {
        return Objects.hash(visitType);
    }
}
